package com.lekang.controller;

import com.github.pagehelper.PageInfo;
import com.lekang.R;
import com.lekang.ZcqEntity.NursingItemZcq;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import com.lekang.le.service.fuwuZcqService;

import java.util.List;

@RestController
@RequestMapping("/api/nursingItem")
public class fuwuZcqController {
    @Autowired
    private fuwuZcqService fuwuZcqService;
    @GetMapping("list")
    public R list(@RequestParam(required = false) String name,@RequestParam(required = false) String status,@RequestParam(required = false) Integer isDeleted){
      List<NursingItemZcq> list =fuwuZcqService.list(name,status,isDeleted);

        return R.ok(list);
    }
}
